﻿using UnityEngine;
using System.Collections;
using System;

public class StartSceneExit : SceneProcedure
{
	public StartSceneExit(GameScene gameScene)
		:base(gameScene){}
	protected override void onInit(SceneProcedure lastProcedure, string intent){}
	protected override void onUpdate(float elapsedTime){}
	protected override void onExit(SceneProcedure nextProcedure)
	{
		// 一般在场景的Exit流程中,卸载该场景的所有布局,确保没有资源遗留
		LT.UNLOAD_LAYOUT(LAYOUT.L_DEMO);
		LT.UNLOAD_LAYOUT(LAYOUT.L_DEMO_START);
	}
}